home *** CD-ROM | disk | FTP | other *** search
/ Delphi Developer's Kit 1996 / Delphi Developer's Kit 1996.iso / power / csystray.000 / csystray / systrdlg.h < prev   
Encoding:
C/C++ Source or Header  |  1995-12-22  |  1.6 KB  |  66 lines

  1. // systrdlg.h : header file
  2. //
  3.  
  4. #include "csystray.h"
  5.  
  6. #define WM_MYCALLBACK           (WM_USER + 100)
  7. #define ID_MYTIMER              123
  8.  
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CSystrayDlg dialog
  11.  
  12. class CSystrayDlg : public CDialog
  13. {
  14. // Construction
  15. public:
  16.     CSystrayDlg(CWnd* pParent = NULL);    // standard constructor
  17.  
  18. // Dialog Data
  19.     //{{AFX_DATA(CSystrayDlg)
  20.     enum { IDD = IDD_SYSTRAY_DIALOG };
  21.     CEdit    m_editBubbleText;
  22.     CButton    m_ckEnable;
  23.     CString    m_szBubbleText;
  24.     BOOL    m_bEnable;
  25.     int        m_nIconState;
  26.     BOOL    m_bCycle;
  27.     BOOL    m_bLoadOnStartup;
  28.     //}}AFX_DATA
  29.  
  30.     // ClassWizard generated virtual function overrides
  31.     //{{AFX_VIRTUAL(CSystrayDlg)
  32.     protected:
  33.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  34.     //}}AFX_VIRTUAL
  35.  
  36. // Implementation
  37. protected:
  38.     HICON               m_hIcon;
  39.     CWin95SystemTray    m_Win95SystemTray;
  40.     UINT                m_uMyTimer;
  41.  
  42.     LONG    AddToRunRegistryKey(BOOL bAdd = TRUE);
  43.     
  44.     // Generated message map functions
  45.     //{{AFX_MSG(CSystrayDlg)
  46.     virtual BOOL OnInitDialog();
  47.     afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  48.     afx_msg void OnPaint();
  49.     afx_msg HCURSOR OnQueryDragIcon();
  50.     afx_msg void OnHide();
  51.     afx_msg void OnSet();
  52.     afx_msg void OnEnable();
  53.     afx_msg void OnIconstate();
  54.     afx_msg LONG OnMySystemTrayCallback(UINT wParam, LONG lParam);
  55.     afx_msg void OnCycle();
  56.     afx_msg void OnClear();
  57.     afx_msg void OnTimer(UINT nIDEvent);
  58.     afx_msg void OnClose();
  59.     afx_msg void OnAbout();
  60.     virtual void OnCancel();
  61.     afx_msg BOOL OnQueryEndSession();
  62.     afx_msg void OnDevnotes();
  63.     //}}AFX_MSG
  64.     DECLARE_MESSAGE_MAP()
  65. };
  66.